import ajax from '../utils/request'
//加入购物车
export function getaddCart(data) {
  return ajax({
    url: '/cart/add',
    data,
    method: 'post',
  })
}
//查看购物车
export function getCartList(data) {
  return ajax({
    url: '/cart/list',
    data,
    method: 'post',
  })
}